#define _CRT_SECURE_NO_WARNINGS 1
int convertInteger(int A, int B) {
    int count = 0;
    for (int i = 0;i < 32;i++)
    {
        if (((A >> i) & 1) != ((B >> i) & 1))
        {
            count++;
        }
    }
    return count;
}